#!/usr/bin/env python
# -*- coding: utf-8 -*-
class Config:
	SECRET_KEY = 'mingzi-yuanlai-keyi-zheme-chang'
	SQLALCHEMY_COMMIT_ON_TEARDOWN = True

	@staticmethod
	def init_app(app):
		pass

class ProductionConfig(Config):
	DEBUG = True
	SQLALCHEMY_DATABASE_URI = 'mysql+mysqlconnector://root:123@localhost:3306/flaskx'

config = {
	'default': ProductionConfig
}